home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dgtcon.z / dgtcon
Encoding:
Text File  |  2002-10-03  |  4.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDGGGGTTTTCCCCOOOONNNN((((3333SSSS))))                                                          DDDDGGGGTTTTCCCCOOOONNNN((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DGTCON - estimate the reciprocal of the condition number of a real
  10.      tridiagonal matrix A using the LU factorization as computed by DGTTRF
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DGTCON( NORM, N, DL, D, DU, DU2, IPIV, ANORM, RCOND, WORK,
  14.                         IWORK, INFO )
  15.  
  16.          CHARACTER      NORM
  17.  
  18.          INTEGER        INFO, N
  19.  
  20.          DOUBLE         PRECISION ANORM, RCOND
  21.  
  22.          INTEGER        IPIV( * ), IWORK( * )
  23.  
  24.          DOUBLE         PRECISION D( * ), DL( * ), DU( * ), DU2( * ), WORK( *
  25.                         )
  26.  
  27. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  28.      These routines are part of the SCSL Scientific Library and can be loaded
  29.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  30.      directs the linker to use the multi-processor version of the library.
  31.  
  32.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  33.      4 bytes (32 bits). Another version of SCSL is available in which integers
  34.      are 8 bytes (64 bits).  This version allows the user access to larger
  35.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  36.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  37.      only one of the two versions; 4-byte integer and 8-byte integer library
  38.      calls cannot be mixed.
  39.  
  40. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  41.      DGTCON estimates the reciprocal of the condition number of a real
  42.      tridiagonal matrix A using the LU factorization as computed by DGTTRF. An
  43.      estimate is obtained for norm(inv(A)), and the reciprocal of the
  44.      condition number is computed as RCOND = 1 / (ANORM * norm(inv(A))).
  45.  
  46.  
  47. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  48.      NORM    (input) CHARACTER*1
  49.              Specifies whether the 1-norm condition number or the infinity-
  50.              norm condition number is required:
  51.              = '1' or 'O':  1-norm;
  52.              = 'I':         Infinity-norm.
  53.  
  54.      N       (input) INTEGER
  55.              The order of the matrix A.  N >= 0.
  56.  
  57.      DL      (input) DOUBLE PRECISION array, dimension (N-1)
  58.              The (n-1) multipliers that define the matrix L from the LU
  59.              factorization of A as computed by DGTTRF.
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDGGGGTTTTCCCCOOOONNNN((((3333SSSS))))                                                          DDDDGGGGTTTTCCCCOOOONNNN((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      D       (input) DOUBLE PRECISION array, dimension (N)
  75.              The n diagonal elements of the upper triangular matrix U from the
  76.              LU factorization of A.
  77.  
  78.      DU      (input) DOUBLE PRECISION array, dimension (N-1)
  79.              The (n-1) elements of the first superdiagonal of U.
  80.  
  81.      DU2     (input) DOUBLE PRECISION array, dimension (N-2)
  82.              The (n-2) elements of the second superdiagonal of U.
  83.  
  84.      IPIV    (input) INTEGER array, dimension (N)
  85.              The pivot indices; for 1 <= i <= n, row i of the matrix was
  86.              interchanged with row IPIV(i).  IPIV(i) will always be either i
  87.              or i+1; IPIV(i) = i indicates a row interchange was not required.
  88.  
  89.      ANORM   (input) DOUBLE PRECISION
  90.              If NORM = '1' or 'O', the 1-norm of the original matrix A.  If
  91.              NORM = 'I', the infinity-norm of the original matrix A.
  92.  
  93.      RCOND   (output) DOUBLE PRECISION
  94.              The reciprocal of the condition number of the matrix A, computed
  95.              as RCOND = 1/(ANORM * AINVNM), where AINVNM is an estimate of the
  96.              1-norm of inv(A) computed in this routine.
  97.  
  98.      WORK    (workspace) DOUBLE PRECISION array, dimension (2*N)
  99.  
  100.      IWORK   (workspace) INTEGER array, dimension (N)
  101.  
  102.      INFO    (output) INTEGER
  103.              = 0:  successful exit
  104.              < 0:  if INFO = -i, the i-th argument had an illegal value
  105.  
  106. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  107.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  108.  
  109.      This man page is available only online.
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.